package com.flea;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.data.elasticsearch.repository.config.EnableElasticsearchRepositories;
import org.springframework.data.jdbc.repository.config.EnableJdbcRepositories;

@SpringBootApplication
@EnableJdbcRepositories(basePackages = "com.flea.repository.jdbc")
@EnableElasticsearchRepositories(basePackages = "com.flea.repository.es")
@ServletComponentScan
public class FleaApplication {

	public static void main(String[] args) {
		SpringApplication.run(FleaApplication.class, args);
	}

}
